export const getDayOfWeek = (time) => {
    const days = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'];
    const today = new Date(time);
    return days[today.getDay()];
};